<template>
  <div class="recruit">
    <!-- 顶部横幅 -->
    <div class="banner-container">
      <div class="banner">
        <div class="banner-content">
          <h1 class="title">加入我们，共创未来</h1>
          <p class="description">寻找热爱科技、充满创造力的你</p>
        </div>
        <div class="banner-image">
          <img :src="require('@/assets/info/logo_and_name.png')" alt="团队协作">
        </div>
      </div>
    </div>

    <!-- 工作室介绍 -->
    <div class="studio-intro">
      <h2 class="section-title">关于我们</h2>
      <div class="intro-content">
        <p>我们是一个充满活力的创业工作室，专注于AI和数字科技领域的创新。虽然规模不大，但我们拥有远大的愿景和执行力。我们相信，每一个加入的伙伴都将在这里找到施展才华的舞台，共同成长。</p>
      </div>
    </div>

    <!-- 我们的文化 -->
    <div class="culture-section">
      <h2 class="section-title">工作室文化</h2>
      <div class="culture-grid">
        <div class="culture-card">
          <i class="el-icon-magic-stick"></i>
          <h3>创新驱动</h3>
          <p>鼓励创新思维，拥抱新技术，让每个想法都有实现的可能</p>
        </div>
        <div class="culture-card">
          <i class="el-icon-coordinate"></i>
          <h3>成长空间</h3>
          <p>扁平化管理，快速决策，让每个人都能充分发挥才能</p>
        </div>
        <div class="culture-card">
          <i class="el-icon-user"></i>
          <h3>开放包容</h3>
          <p>尊重个性，平等交流，营造轻松愉快的工作氛围</p>
        </div>
        <div class="culture-card">
          <i class="el-icon-trophy"></i>
          <h3>共同成长</h3>
          <p>分享成功，共担风险，与团队一起成长</p>
        </div>
      </div>
    </div>

    <!-- 招聘岗位 -->
    <div class="positions-section">
      <h2 class="section-title">寻找伙伴</h2>
      <div class="positions-grid">
        <div class="position-card">
          <h3>全栈开发工程师</h3>
          <div class="tags">
            <span class="tag">远程办公</span>
            <span class="tag">弹性工作</span>
          </div>
          <div class="requirements">
            <h4>期待你：</h4>
            <ul>
              <li>熟悉Vue/React等前端框架</li>
              <li>有后端开发经验（Node.js/Python等）</li>
              <li>对AI应用开发感兴趣</li>
              <li>有良好的学习能力和团队协作精神</li>
            </ul>
          </div>
        </div>

        <div class="position-card">
          <h3>产品运营</h3>
          <div class="tags">
            <span class="tag">远程办公</span>
            <span class="tag">弹性工作</span>
          </div>
          <div class="requirements">
            <h4>期待你：</h4>
            <ul>
              <li>有产品运营或社区运营经验</li>
              <li>对AI产品有浓厚兴趣</li>
              <li>良好的文案和沟通能力</li>
              <li>有创业精神，能承受压力</li>
            </ul>
          </div>
        </div>

        <div class="position-card">
          <h3>UI/UX设计师</h3>
          <div class="tags">
            <span class="tag">远程办公</span>
            <span class="tag">弹性工作</span>
          </div>
          <div class="requirements">
            <h4>期待你：</h4>
            <ul>
              <li>扎实的设计功底</li>
              <li>熟悉主流设计工具</li>
              <li>对用户体验有独特见解</li>
              <li>善于沟通，乐于创新</li>
            </ul>
          </div>
        </div>
      </div>
    </div>

    <!-- 联系方式 -->
    <div class="contact-section">
      <h2 class="section-title">加入我们</h2>
      <p class="contact-description">如果你对我们的岗位感兴趣，欢迎投递简历或与我们联系</p>
      
      <div class="contact-card">
        <div class="contact-info">
          <div class="info-item">
            <i class="el-icon-message"></i>
            <span>简历投递邮箱: hr@shared-ai.com</span>
          </div>
          <div class="info-item">
            <i class="el-icon-document"></i>
            <span>邮件主题格式: 应聘岗位+姓名</span>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'RecruitView'
}
</script>

<style scoped>
.recruit {
  min-height: 100vh;
  background: #F8F9FA;
}

.banner-container {
  background: #F8F9FA;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.banner {
  background: white;
  max-width: 1200px;
  width: 100%;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-radius: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.banner-content {
  flex: 1;
  color: #3F5D62;
  margin-left: 30px;
}

.title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.description {
  font-size: 1.5rem;
  line-height: 1.4;
  color: #666;
}

.banner-image {
  flex: 1;
  max-width: 500px;
  margin-right: 30px;
}

.banner-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

/* 工作室介绍样式 */
.studio-intro {
  padding: 60px 20px;
  background: #F8F9FA;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #666;
}

/* 文化部分样式 */
.culture-section {
  padding: 60px 20px;
  background: #F8F9FA;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.culture-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.culture-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(63, 93, 98, 0.15);
}

.culture-card i {
  font-size: 2.5rem;
  color: #3F5D62;
  margin-bottom: 20px;
}

.culture-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
}

.culture-card p {
  color: #666;
  line-height: 1.6;
}

/* 职位部分样式 */
.positions-section {
  padding: 60px 20px;
  background: white;
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.position-card {
  background: #F8F9FA;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.position-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(63, 93, 98, 0.15);
}

.position-card h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
}

.tags {
  margin-bottom: 20px;
}

.tag {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(63, 93, 98, 0.1);
  color: #3F5D62;
  border-radius: 20px;
  margin-right: 10px;
  font-size: 0.9rem;
}

.requirements h4 {
  color: #333;
  margin-bottom: 10px;
}

.requirements ul {
  list-style: none;
  padding: 0;
}

.requirements li {
  color: #666;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.requirements li::before {
  content: "•";
  color: #3F5D62;
  position: absolute;
  left: 0;
}

/* 联系方式样式 */
.contact-section {
  padding: 60px 20px;
  background: white;
}

.contact-description {
  text-align: center;
  color: #666;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-card {
  background: linear-gradient(135deg, #3F5D62, #87CEEB);
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  color: white;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.info-item i {
  margin-right: 15px;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .title {
    font-size: 2rem;
  }

  .description {
    font-size: 1.2rem;
  }

  .culture-grid,
  .positions-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    text-align: center;
  }

  .info-item {
    justify-content: center;
  }
}
</style> 